<!DOCTYPE html>
<html lang="en">
<html>
<head>
    <meta charset="utf-8">
    <title>注册页面</title>
    <!-- 引入axios库，用于发起HTTP请求 -->
    <script src="/js/axios.min.js"></script>
    <!-- 引入util.js，包含一些工具函数 -->
    <script src="/js/util.js"></script>
    <!-- 引入login.js，包含处理登录逻辑的代码 -->
    <script src="/js/register.js"></script>
</head>
<body>
<h1>欢迎注册</h1>
<form id="registerForm">
    <table>
        <tr>
            <td>用户名:</td>
            <td><input type="text" name="username" id="username"></td>
        </tr>
        <tr>
            <td>密码:</td>
            <td><input type="password" name="pwd" id="pwd"></td>
        </tr>
        <tr>
            <td>确认密码:</td>
            <td><input type="password" name="repwd" id="repwd"></td>
        </tr>
        <tr>
            <td>邮箱:</td>
            <td><input type="email" name="email" id="email"></td>
        </tr>
        <tr>
            <td>头像:</td>
            <td>
                <input type="radio" name="img" value="1.jpg" id="img1"><img src="/img/1.jpg" width="40px" height="40px">
                <input type="radio" name="img" value="4.jpg" id="img2"><img src="/img/4.jpg" width="40px" height="40px">
                <input type="radio" name="img" value="3.jpg" id="img3"><img src="/img/3.jpg" width="40px" height="40px">
            </td>
        </tr>
        <tr>
            <td><input type="submit" value="注册" onclick="register()"></td>
        </tr>
    </table>
</form>
</body>
</html>